package com.hmall.item.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hmall.common.dto.PageDTO;
import com.hmall.item.pojo.Item;

public interface IItemService extends IService<Item> {

    PageDTO page(Integer page, Integer size);

    boolean update(Long itemId,int num);


    void recoverStock(Long itemId, Integer num);
}
